<?php
/**
 * DotHerbert
 *
 * @package    CodeSniffer
 * @subpackage Standards
 * @copyright  2009 extreme-programmers
 * @license    http://dotherbert.extreme-programmers.com/license   BSD License
 * @version    $Id: DotHerbertCodingStandard.php 102 2009-05-13 17:19:29Z johannes.trink@extreme-programmers.com $
 */

/**
 * DotHerbert coding standard
 *
 * @package    CodeSniffer
 * @subpackage Standards
 * @author     Johannes Trink <johannes.trink@extreme-programmers.com>
 */
class PHP_CodeSniffer_Standards_DotHerbert_DotHerbertCodingStandard
    extends PHP_CodeSniffer_Standards_CodingStandard
{
    /**
     * Included sniffs
     *
     * @var array
     */
    private $includedSniffs;

    /**
     * Set includedSniffs
     *
     * @param  array $includedSniffs
     * @return void
     */
    public function setIncludedSniffs(array $includedSniffs)
    {
        $this->includedSniffs = $includedSniffs;
    }


    /**
     * Get included sniffs - Defined in PHP_CodeSniffer_Standards_CodingStandard
     *
     * @return array
     */
    public function getIncludedSniffs()
    {
        if (null === $this->includedSniffs) {
            $this->includedSniffs = array('Zend');
        }
        return $this->includedSniffs;
    }

    /**
     * Get excluded sniffs - Defined in PHP_CodeSniffer_Standards_CodingStandard
     */
    public function getExcludedSniffs()
    {
        return array('Zend/Sniffs/Files/LineLengthSniff.php',
                     'Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php');
    }
}